package com.cyz.web.app.proxy;

public class Buyer implements IBuyer{

    private String username;

    public Buyer(String username) {
        this.username = username;
    }

    @Override
    public void login(String username, String password) {
        System.out.println( username + "登录了系统");
    }

    @Override
    public void buyTicket() {
        System.out.println( username + "正在购票");
    }
}
